package com.dropdb.demo.service;

import com.dropdb.demo.bean.Address;
import com.dropdb.demo.bean.vo.DetailAddressVO;
import com.dropdb.demo.bean.vo.WxAddressVO;

import java.util.List;

/**
 * @author:cheyanjun
 * @date:2020/06/30 23:57
 */

public interface WxAddressService {
    List<WxAddressVO> getAddressList(int userId);

    DetailAddressVO getAddressDetail(int id);

    void saveAddress(Address address);

    int addAddress(Address address);

    void deleteAddress(Integer id);

    void updateIsDefault(Integer userId);
}
